<include file="public@head_top"/>
</head>
<body class="bgeee">
<include file="public@head"/>
<include file="public@sidebar_head"/>

<div class="showW">
	<div class='st-searchparameter st-block'>
        {$configinfo['searchparameterhtml']}
        <div style='clear:both;'></div>
      </div>
    <ul class="showList clearfloat">
    	<php>
            $where=[
            'post.create_time'=>['egt',0]
            ];
            // 积分兑换
            if($_MGPC_GET['integralgoods'] == 1)
            {
            	$integralstatus_name = getdesignatedname("integralstatus");
            	$where+=[
                'post.'.$integralstatus_name=>['eq',1]
                ];
            }
            $page=[
                'list_rows'=>$configbase['config']['listnum3'],
                'next'=>$configlang['Next_page'],
                'prev'=>$configlang['Previous_page']
            ];
        </php>
        <portal:articles item="vo" where="$where" page="$page" relation="categories" categoryIds="$category.id" returnVarName="articles_data">
        <php>
        	$gettime = getflashtime(0.5,$key,2,3);
            $cateMark = $vo['is_top'] == 1 ? "topMark" : ($vo['recommended'] == 1 ? "recMark" : "");
        </php>
        <li class="wow fadeInUp {$cateMark}" data-wow-duration="{$gettime}s"><a href="{:cmf_url('portal/Article/index',array('id'=>$vo['id'],'cid'=>$vo['category_id']))}" title="{$vo.post_title}">
            <div class="pic">
                <empty name="vo.img_thumb">
                    <img src="__TMPL__/public/assets/images/default-thumbnail.png"
                         alt="{$vo.post_title}">
                    <else/>
                    <img src="{:cmf_get_image_url($vo.img_thumb)}"
                         alt="{$vo.post_title}">
                </empty>
            </div>
            <p class="single-line">{$vo.post_title}</p>
        </a></li>
        </portal:articles>
    </ul>
    <div class="show-pages">
        <div class="show-pagination">
            <page/>
        </div>
    </div>
</div>

<include file="public@sidebar_foot"/>
<include file="public@footer"/>
</body>    
</html>